package com.javasm.adminapi.aftersales.service;

import com.github.pagehelper.PageInfo;
import com.javasm.adminapi.module.aftersalesbase.entity.B2cReturnMsg;
import com.javasm.adminapi.module.aftersalesbase.entity.OmOrder;
import com.javasm.adminapi.module.aftersalesbase.vo.FormVo;
import com.javasm.adminapi.module.aftersalesbase.vo.ReturnMagSearchVo;
import com.javasm.adminapi.module.product.entity.TSpu;

import java.util.List;

/**
 * @className: ReturnMag
 * @description:
 * @author: zjl
 * @date: 2025/10/16 21:21
 * @version: 0.1
 * @since: jdk17
 */
public interface B2cMagService {

    PageInfo<B2cReturnMsg> queryByCondition(ReturnMagSearchVo searchVo);

    void saveOrUpdate(B2cReturnMsg b2cReturnMsg);

    List<B2cReturnMsg> listByCondition(ReturnMagSearchVo searchVo);

    List<OmOrder> listOrderByCondition(FormVo searchVo);

    List<TSpu> listTspuByCondition(FormVo searchVo);

    void removeByIds(Integer[] ids);

    B2cReturnMsg getById(Integer id);
}
